CREATE TABLE [dbo].[TTDEPE_ADUA]
(
[CO_DEPE_ADUA] [dbo].[TD_VC_003] NOT NULL,
[NO_DEPE_ADUA] [dbo].[TD_VC_100] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTDEPE_AD__CO_US__345EC57D] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTDEPE_AD__FE_US__3552E9B6] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTDEPE_AD__CO_US__36470DEF] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTDEPE_AD__FE_US__373B3228] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTDEPE_ADUA] ADD CONSTRAINT [PK__TTDEPE_A__5CE89DBD44EA3301] PRIMARY KEY CLUSTERED  ([CO_DEPE_ADUA]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TTDEPE_ADUA] TO [public]
GRANT INSERT ON  [dbo].[TTDEPE_ADUA] TO [public]
GRANT DELETE ON  [dbo].[TTDEPE_ADUA] TO [public]
GRANT UPDATE ON  [dbo].[TTDEPE_ADUA] TO [public]
GO
